package mz.behaveas.model.spec {
	import mz.behaveas.model.Descriptional;
	import mz.behaveas.model.expectation.Expectation;

	/**
	 * Specification is an entity that wraps many expectations and can check this expectation.
	 * 
	 * @author maxim.zaks@gmail.com
	 */
	public interface Specification extends Descriptional {

		function addExpectation(exp : Expectation) : void;

		function runExpectations(listener : SpecRunListener) : void;
		
		function get numberOfNotCorrectExpectations() : int
		
		function get numberOfExpectations() : int;
	}
}
